<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-utils/cudaResize.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('cudaResize_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cudaResize.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="cudaUtility_8h_source.html">cudaUtility.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="cudaFilterMode_8h_source.html">cudaFilterMode.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="imageFormat_8h_source.html">imageFormat.h</a>&quot;</code><br />
</div>
<p><a href="cudaResize_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7d8037ab45d2cc6ef1645fe422f71bb5"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#ga7d8037ab45d2cc6ef1645fe422f71bb5">cudaResize</a> (uint8_t *input, size_t inputWidth, size_t inputHeight, uint8_t *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:ga7d8037ab45d2cc6ef1645fe422f71bb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a uint8 grayscale image on the GPU.  <a href="group__resize.html#ga7d8037ab45d2cc6ef1645fe422f71bb5">More...</a><br /></td></tr>
<tr class="separator:ga7d8037ab45d2cc6ef1645fe422f71bb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e446b0a09f0bb6710b31c3caa123d10"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#ga0e446b0a09f0bb6710b31c3caa123d10">cudaResize</a> (float *input, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:ga0e446b0a09f0bb6710b31c3caa123d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a floating-point grayscale image on the GPU.  <a href="group__resize.html#ga0e446b0a09f0bb6710b31c3caa123d10">More...</a><br /></td></tr>
<tr class="separator:ga0e446b0a09f0bb6710b31c3caa123d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc807571b7fc50a9f22f10585254c089"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#gacc807571b7fc50a9f22f10585254c089">cudaResize</a> (uchar3 *input, size_t inputWidth, size_t inputHeight, uchar3 *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:gacc807571b7fc50a9f22f10585254c089"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a uchar3 RGB/BGR image on the GPU.  <a href="group__resize.html#gacc807571b7fc50a9f22f10585254c089">More...</a><br /></td></tr>
<tr class="separator:gacc807571b7fc50a9f22f10585254c089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98e4614734bf1e46c45bb4d6109cbc62"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#ga98e4614734bf1e46c45bb4d6109cbc62">cudaResize</a> (float3 *input, size_t inputWidth, size_t inputHeight, float3 *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:ga98e4614734bf1e46c45bb4d6109cbc62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a float3 RGB/BGR image on the GPU.  <a href="group__resize.html#ga98e4614734bf1e46c45bb4d6109cbc62">More...</a><br /></td></tr>
<tr class="separator:ga98e4614734bf1e46c45bb4d6109cbc62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad28e34ae9f993c794f9558dabd803267"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#gad28e34ae9f993c794f9558dabd803267">cudaResize</a> (uchar4 *input, size_t inputWidth, size_t inputHeight, uchar4 *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:gad28e34ae9f993c794f9558dabd803267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a uchar4 RGBA/BGRA image on the GPU.  <a href="group__resize.html#gad28e34ae9f993c794f9558dabd803267">More...</a><br /></td></tr>
<tr class="separator:gad28e34ae9f993c794f9558dabd803267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga631573ef14c2ff11e2e704584ba354c2"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#ga631573ef14c2ff11e2e704584ba354c2">cudaResize</a> (float4 *input, size_t inputWidth, size_t inputHeight, float4 *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:ga631573ef14c2ff11e2e704584ba354c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale a float4 RGBA/BGRA image on the GPU.  <a href="group__resize.html#ga631573ef14c2ff11e2e704584ba354c2">More...</a><br /></td></tr>
<tr class="separator:ga631573ef14c2ff11e2e704584ba354c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0c3ef0f1d6f8477fedbbad0bd0779f0"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resize.html#gab0c3ef0f1d6f8477fedbbad0bd0779f0">cudaResize</a> (void *input, size_t inputWidth, size_t inputHeight, void *output, size_t outputWidth, size_t outputHeight, <a class="el" href="group__imageFormat.html#ga931c48e08f361637d093355d64583406">imageFormat</a> format, <a class="el" href="group__cudaFilter.html#ga25d4283643163befe99948d24cc53311">cudaFilterMode</a> filter=<a class="el" href="group__cudaFilter.html#gga25d4283643163befe99948d24cc53311a8928ed98915affb5c7514632a038daa6">FILTER_POINT</a>)</td></tr>
<tr class="memdesc:gab0c3ef0f1d6f8477fedbbad0bd0779f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale an image on the GPU (supports grayscale, RGB/BGR, RGBA/BGRA) To use bilinear filtering for upscaling, set filter to FILTER_LINEAR.  <a href="group__resize.html#gab0c3ef0f1d6f8477fedbbad0bd0779f0">More...</a><br /></td></tr>
<tr class="separator:gab0c3ef0f1d6f8477fedbbad0bd0779f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_54a0acf6da04fe2ed9410b4c6369bc5d.html">jetson-utils</a></li><li class="navelem"><a class="el" href="cudaResize_8h.html">cudaResize.h</a></li>
    <li class="footer">Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
